Zimbra : Install
2015/04/02 |
Install Zimbra of Open Source edition.
It's necessarry to stop http service or mail service, ldap service first because there are installed by Zimbra.
Furthermore, the host you'd like to install Zimbra is required to added in DNS with A record and MX record.
|
|
[1] | Install Zimbra. Make sure the latest one and download it from the site below. ⇒ http://www.zimbra.com/downloads/os-downloads.html |
# add own hostname in hosts (required by installer) [root@mail ~]# echo "10.0.0.32 mail.srv.world mail" >> /etc/hosts
[root@mail ~]#
wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz [root@mail ~]# tar zxvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz [root@mail ~]# cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155 # execute installer [root@mail zcs-8.6.0_GA_1153.RHEL6_64.20141215151155]# ./install.sh Operations logged to /tmp/install.log.1121 Checking for existing installation... zimbra-ldap...NOT FOUND zimbra-logger...NOT FOUND zimbra-mta...NOT FOUND zimbra-dnscache...NOT FOUND zimbra-snmp...NOT FOUND zimbra-store...NOT FOUND zimbra-apache...NOT FOUND zimbra-spell...NOT FOUND zimbra-convertd...NOT FOUND zimbra-memcached...NOT FOUND zimbra-proxy...NOT FOUND zimbra-archiving...NOT FOUND zimbra-core...NOT FOUND PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT. License Terms for the Zimbra Collaboration Suite: http://www.zimbra.com/license/zimbra-public-eula-2-5.html
Do you agree with the terms of the software license agreement? [N]
y # Yes Checking for prerequisites... FOUND: NPTL FOUND: nc-1.84-22 FOUND: sudo-1.8.6p3-15 FOUND: libidn-1.18-2 FOUND: gmp-4.3.1-7 FOUND: libaio-0.3.107-10 FOUND: libstdc++-4.4.7-11 FOUND: unzip-6.0-2 Checking for suggested prerequisites... FOUND: perl-5.10.1 FOUND: sysstat FOUND: sqlite Prerequisite check complete. Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-mta Found zimbra-dnscache Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-memcached Found zimbra-proxy Select the packages to install
Install zimbra-ldap [Y]
# Enter with default
Install zimbra-logger [Y]
# Enter with default
Install zimbra-mta [Y]
# Enter with default
Install zimbra-dnscache [Y]
# Enter with default
Install zimbra-snmp [Y]
# Enter with default
Install zimbra-store [Y]
# Enter with default
Install zimbra-apache [Y]
# Enter with default
Install zimbra-spell [Y]
# Enter with default
Install zimbra-memcached [Y]
# Enter with default
Install zimbra-proxy [Y]
# Enter with default Checking required space for zimbra-core Checking space for zimbra-store Installing: zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-dnscache zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-memcached zimbra-proxy
The system will be modified. Continue? [N]
y # Yes
Removing /opt/zimbra Removing zimbra crontab entry...done. Cleaning up zimbra init scripts...done. Cleaning up /etc/ld.so.conf...done. Cleaning up /etc/security/limits.conf...done. Finished removing Zimbra Collaboration Server. Installing packages zimbra-core......zimbra-core-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-ldap......zimbra-ldap-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-logger......zimbra-logger-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-mta......zimbra-mta-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-snmp......zimbra-snmp-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-store......zimbra-store-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-apache......zimbra-apache-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-spell......zimbra-spell-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-memcached......zimbra-memcached-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done zimbra-proxy......zimbra-proxy-8.0.2_GA_5569.RHEL6_64-20121210115059.x86_64.rpm...done Operations logged to /tmp/zmsetup.01082013-134300.log Installing LDAP configuration database...done. Setting defaults... DNS ERROR resolving MX for dlp.srv.world It is suggested that the domain name have an MX record configured in DNS # the following error will be shown on many servers, then proceed with Yes. Change domain name? [Yes] y # Yes Create domain: [mail.srv.world] srv.world # input doman name MX: mail.srv.world (10.0.0.32) Interface: 10.0.0.32 Interface: 127.0.0.1 Interface: ::1 10.0.0.32 done. Checking for port conflicts Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-logger: Enabled 4) zimbra-mta: Enabled 5) zimbra-dnscache: Enabled 6) zimbra-snmp: Enabled 7) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: admin@mail.srv.world ******* +Admin Password UNSET +Anti-virus quarantine user: virus-quarantine.6vkexfx3u@mail.srv.world +Enable automated spam training: yes +Spam training user: spam.hag5b7zr@mail.srv.world +Non-spam(Ham) training user: ham.vsxp1hyxe0@mail.srv.world +SMTP host: mail.srv.world +Web server HTTP port: 8080 +Web server HTTPS port: 8443 +Web server mode: https +IMAP server port: 7143 +IMAP server SSL port: 7993 +POP server port: 7110 +POP server SSL port: 7995 +Use spell check server: yes +Spell server URL: http://mail.srv.world:7780/aspell.php +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: admin@mail.srv.world +Version update source email: admin@mail.srv.world +Install mailstore (service webapp): yes +Install UI (zimbra,zimbraAdmin webapps): yes 8) zimbra-spell: Enabled 9) zimbra-proxy: Enabled 10) Default Class of Service Configuration: s) Save config to file x) Expand menu q) Quit
Address unconfigured (**) items (? - help)
Store configuration
7 # select "7"
1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@mail.srv.world ** 4) Admin Password UNSET 5) Anti-virus quarantine user: virus-quarantine.6vkexfx3u@mail.srv.world 6) Enable automated spam training: yes 7) Spam training user: spam.hag5b7zr@mail.srv.world 8) Non-spam(Ham) training user: ham.vsxp1hyxe0@mail.srv.world 9) SMTP host: mail.srv.world 10) Web server HTTP port: 8080 11) Web server HTTPS port: 8443 12) Web server mode: https 13) IMAP server port: 7143 14) IMAP server SSL port: 7993 15) POP server port: 7110 16) POP server SSL port: 7995 17) Use spell check server: yes 18) Spell server URL: http://mail.srv.world:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@mail.srv.world 22) Version update source email: admin@mail.srv.world 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r]
Password for admin@srv.world (min 6 characters): [xFuoltBR] 4 # select "4" and set admin password
password # set password
1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@mail.srv.world 4) Admin Password set 5) Anti-virus quarantine user: virus-quarantine.6vkexfx3u@mail.srv.world 6) Enable automated spam training: yes 7) Spam training user: spam.hag5b7zr@mail.srv.world 8) Non-spam(Ham) training user: ham.vsxp1hyxe0@mail.srv.world 9) SMTP host: mail.srv.world 10) Web server HTTP port: 8080 11) Web server HTTPS port: 8443 12) Web server mode: https 13) IMAP server port: 7143 14) IMAP server SSL port: 7993 15) POP server port: 7110 16) POP server SSL port: 7995 17) Use spell check server: yes 18) Spell server URL: http://mail.srv.world:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@mail.srv.world 22) Version update source email: admin@mail.srv.world 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r]
r # back
Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-logger: Enabled 4) zimbra-mta: Enabled 5) zimbra-dnscache: Enabled 6) zimbra-snmp: Enabled 7) zimbra-store: Enabled 8) zimbra-spell: Enabled 9) zimbra-proxy: Enabled 10) Default Class of Service Configuration: s) Save config to file x) Expand menu q) Quit *** CONFIGURATION COMPLETE - press 'a' to applySelect from menu, or press 'a' to apply config (? - help) a # apply changes Save configuration data to a file? [Yes] # Enter with default Save config in file: [/opt/zimbra/config.10869] # Enter with default Saving config in /opt/zimbra/config.10869...done. The system will be modified - continue? [No] y # Yes Operations logged to /tmp/zmsetup04032015-141009.log Setting local config values...done. Initializing core config...Setting up CA...done. ..... ..... Notification complete Setting up zimbra crontab...done. Moving /tmp/zmsetup04032015-141009.log to /opt/zimbra/log Configuration complete - press return to exit |